<%@ page language="java" contentType="text/html; charset=gbk"%>
<%@ page import="java.util.*"%>
<%@ taglib prefix="w" uri="http://cokemi-utils-tree.googlecode.com"%>
<%
HashMap parameters = new HashMap();
parameters.put("dataHandler", "com.cokemi.utils.tree.test.MysqlDataHandler");
parameters.put("dbType", "mysql");
parameters.put("action", "getchild");
parameters.put("tableName", "t114_industry");
parameters.put("nodeIdField", "industry_id");
parameters.put("nodeNameField", "name");
parameters.put("dbType", "mysql");
parameters.put("nodeIdFieldLength", "4");
parameters.put("pageCharset", "GBK");
parameters.put("dbCharset", "ISO8859_1");
parameters.put("containerId", "tree001");
parameters.put("imagePath", "./treeservlet/");
parameters.put("loadDataUrl", "./treeservlet");
%>

<html>
<body>

<table width=100%>
	<tr><td id="tree001" valign=top></td><td id="tree002" valign=top></td></tr>
</table>

<!-- Tag Code Sample 1 -->
<w:cokemi-utils-tree showOnPageLoad="yes" parameters="<%=parameters%>" jsObjectName="tree001"/>

<!-- Tag Code Sample 2 -->
<w:cokemi-utils-tree showOnPageLoad="yes" jsObjectName="tree002" resourcePath=""  loadDataUrl="./TreeServlet.jsp?action=getchild&dataHandler=com.cokemi.utils.tree.test.MysqlDataHandler&tableName=t114_industry&nodeIdField=industry_id&nodeNameField=name&dbType=mysql&nodeIdFieldLength=4&pageCharset=GBK&dbCharset=ISO8859_1&containerId=tree002&imagePath=./treeservlet/"/>

</body>
</html>
